package com.hlm.transparent.controller;

import com.hlm.transparent.service.ProtocolService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program:transparent
 * @description:CJT188Controller
 * @author: xinY
 **/
@RestController
public class ProtocolController {
    @Autowired
    private ProtocolService service;
    @GetMapping("/")
    public void excute(String addr,String protocolCode){
        service.excute(addr,protocolCode);
    }
}
